//
//  UITableViewCell+us.h
//  us
//
//  Created by karry on 2025/4/8.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UITableViewCell (us)

+ (instancetype)us_defaultCell;

+ (CGFloat)us_defaultCellRowHeight;

- (void)us_setAccessoryViewImage:(UIImage *)image;

//设置Switch按钮
- (void)us_setAccessorySwitchisSelected:(BOOL)isSelected
                                 action:(void(^)(BOOL selected))toggleAction;

- (void)us_setAccessorySwitchIsSelected:(BOOL)isSelected
                            allowToggle:(BOOL)allowToggle
                                 action:(void(^)(BOOL selected))toggleAction
                         disabledAction:(void(^)(void))disabledAction;

- (void)us_setDefaultArrow;
@end

NS_ASSUME_NONNULL_END
